<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>My JSP 'register.jsp' starting page</title>
	</head>
	<body>
	<center>
	<h3>管理员登陆</h3>
	<h3>
			<a href="/Struts2new/list2.action">查看新闻</a>
	</h3>
	<h2>管理员发布新闻成功！</h2>
	</center>
	</body>
</html>
